<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<style>
.pricetdClass{
	text-align: center;
	background-color: #ACCFF8;
	border-bottom: solid #EDEDED 1px;
	border-right: solid #EDEDED 1px;
}
.priceTd{
	text-align: center;
	height:30px;
	line-height:30px;
	width:80px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
.priceTd2{
	text-align: center;
	height:30px;
	line-height:30px;
	width:150px;
	border-bottom: solid #999999 1px;
	border-right: solid #999999 1px;
}
</style>
<script type="text/javascript" src="<%=basePath%>/backgroundManager/js/addAirliftPrice.js" charset="utf-8"></script>
<div class="pageContent">
	<form method="post" action="<%=basePath%>airliftPrice_importPrice.action"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone)">
		<!-- 第一步 -->
		<div id="pageFormContent1_air">
		<div  class="pageFormContent" layoutH="58">
			<p>
				<label>
					渠道名称：
				</label>
				<input id="channelNum_air" name="airliftPrice.PChannelNumber" type="hidden" />
				<input id="channelName_air"type="text" size="20" readonly />
				<input id="seachChannelBtn_air" type="button" value="..." />
			</p>
			<p>
				<label>空运价格名称:</label>
				<input type="text" name="airliftPrice.PPartitionNumber" />
			</p>
			<p>
				<label>生效日期：</label>
				<input type="text" id="priceStartDate_air" name="airliftPrice.PPriceStartDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>结束日期：</label>
				<input type="text" id="priceEndDate_air" name="airliftPrice.PPriceEndDate" class="date" format="yyyy年MM月dd日" yearstart="-5" yearend="5" readonly />
			</p>
			<p>
				<label>
					请选择：
				</label>
				<input type="radio" name="forType_air" value="true"
					checked="checked" />
				客户类别
				<input type="radio" name="forType_air" value="false" />
				客户独立报价
			</p>
			<p id="cl1_air">
				<label>
					报价类别(客户类别)：
				</label><!--ltlPrice.PLtlCode -->
				<select id="client_type_air">
					<option value="" selected>
						请选择
					</option>
					<c:forEach items="${sessionScope.clientClasses}" var="clientClass">
						<option value="${clientClass.classNumber}">${clientClass.className}</option>
					</c:forEach>
				</select>
			</p>
			<p id="cl2_air">
				<label>
					客户：
				</label>
				<input id="client_air_text" type="text" size="20" readonly value="" />
				<input id="clientBtn_air_i" type="button" value="..." />
			</p>
			<p>
				<label>币种:</label>
				<select name="airliftPrice.currencyNumber" >
				<c:forEach items="${requestScope.currencys}" var="currency">
					<option value="${currency.currencyNumber}">${currency.currencyNote}</option>
				</c:forEach>
				</select>
			</p>
			<p>
				<label>
					其他费用:
				</label>
				<input type="text" id="otherFare_air" name="otherFare" />
			</p>
			<p>
				<label>
					重量段样本:
				</label>
				<input type="button" value="样本1" name="swatch" id="swatch1" />
				<input type="button" value="样本2" name="swatch" id="swatch2" />
				<input type="button" value="样本3" name="swatch" id="swatch3" />
				<input type="button" value="样本4" name="swatch" id="swatch4" />
			</p>
			<div class="divider"></div>
			<p>
				<label>
					重量段(用 , 符号隔开,例如:<font color="red">0-45</font>,<font color="red">45-100</font>,<font color="red">100-200</font>)：
				</label>
				<textarea cols="30" rows="5" id="weight_air" name="weights"></textarea>
			</p>
			<p>
				<label>
					说明：
				</label>
				<textarea cols="30" rows="5" name="airliftPrice.PPriceNote"></textarea><!-- airliftPrice.classNumber -->
				<input type="hidden" name="airliftPrice.classNumber" />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button id="theNextBtn_air_i" type="button">
								下一步
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
		</div>
		<!-- 第1步结束 -->
		<!-- 第2步 -->
		<div id="pageFormContent2_air">
		<div class="pageHeader">
			<div class="searchBar">
				<div class="pageFormContent1">
					<p>
					<label >渠道名称：</label>
					<input id="channelName_air_sub" type="text" readonly />
					</p>
					<p>
					<label id="client_air">客户/客户类别：</label>
					<input id="client_id_air" type="text" readonly />
					</p>
				</div>
				<div class="subBar">
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button id="theBackBtn_air" type="button">上一步</button></div></div></li>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					</ul>
				</div>
			</div>
			</div>
			<div class="pageContent">
				<table layoutH="90">
					<tbody>
						<tr id="remark_air">
							<td width="100" style="line-height: 20px;height: 20px;">起始-目的港口</td> 
							<td width="70" style="line-height: 20px;height: 20px;">航空公司</td>
							<td width="70" style="line-height: 20px;height: 20px;">燃油</td>
							<td width="70" style="line-height: 20px;height: 20px;">转飞地点</td>
							<td width="300" style="line-height: 20px;height: 20px;">航班日期</td>
						</tr>
						<tr>
							<td id="pricesContext_air" colspan="5" valign="top" bordercolor="yellow">
							      <textarea name="pricesContext" rows="24" style="width: 100%" ></textarea>
						     </td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<!-- 第2步结束 -->
	</form>

</div>

